﻿using Unity.LEGO.Game;
using UnityEngine;
using UnityEngine.UI;

namespace Unity.LEGO.UI
{
    public class LoadSceneButton : MonoBehaviour
    {
        public InputField InputName;
        public InputField InputPassword;

        public void Awake(){
            _ = GameManager.Instance;
        }

        public void LoadScene()
        {
            GameManager.Instance.Login(InputName.text, InputPassword.text);
        }

    }
}